home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / hardware / cpu115 / makep.bat < prev    next >
DOS Batch File  |  1995-02-27  |  1KB  |  38 lines

  1. @echo off
  2. echo makeP - CPU Identifier/Pas Builder  Version 1.04 (c) 1994,95 by B-coolWare.
  3. yesno Do you want to compile the CPU Identifier
  4. if errorlevel 1 goto compile
  5. goto P5Info
  6. :compile
  7. echo Building CPU Identifier/Pas...
  8. tasm /t/m/d__LARGE__ cpu_hl, cpu_tp
  9. tasm /t/m/d__LARGE__ cpuspeed, speed_tp
  10. tasm /t/m/d__LARGE__ p5info
  11. tasm /t/m/d__LARGE__ smm
  12. tpc /m cpu
  13. REM ------------------------------------------------- BP 7
  14. REM tasm /t/m/d__LARGE__/d__DPMI__ cpu_hl,cpu_tp.obp
  15. REM tasm /t/m/d__LARGE__/d__DPMI__ cpuspeed,speed_tp.obp
  16. REM echo Building Real Mode executable...
  17. REM bpc -cd -m cpu
  18. REM ren cpu.exe cpu_rm.exe >nul
  19. REM echo Building Protected Mode executable...
  20. REM bpc -cp -m cpu
  21. REM ren cpu.exe cpu_pm.exe >nul
  22. REM ------------------------------------------------- BP 7
  23. rem        ^-- unREM this if you're BP 7 user
  24. echo:
  25. :P5Info
  26. yesno Do you want to compile P5Info program
  27. if errorlevel 1 goto mkP5
  28. goto Done
  29. :mkP5
  30. echo Building P5Info/Pas...
  31. if not exist p5info.obj tasm /t/m/d__LARGE__ p5info
  32. tpc p5info
  33. REM bpc -cd p5info
  34. rem        ^-- unREM this if you're BP 7 user
  35. :Done
  36. if exist *.ob? del *.ob? >nul
  37. echo makeP done.
  38.